﻿#pragma once
#include "afxwin.h"
#include "afxcmn.h"
// TestSeqEditor 对话框

class TestSeqEditor : public CDialogEx
{
	DECLARE_DYNAMIC(TestSeqEditor)

public:
	TestSeqEditor(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~TestSeqEditor();
	CString setString;
	char port1;
	char port2;
	CString minlimit;
	CString maxlimit;
	CString rangeMax;

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_EDIT_TEST_SEQ };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()
public:
	CComboBox mPort1Sel;
	CComboBox mPort2Sel;
	afx_msg void OnBnClickedOk();
	CEdit mEditMin;
	CEdit mEditMax;
	CComboBox mRangeSel;
	CComboBox mExpectMax2;
	void changeSelRange();
	void enhanceChangeSelRange();
	afx_msg void OnCbnEditchangeComboExpectmax2();
	afx_msg void OnCbnSelchangeComboExpectmax2();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
};
